// vite.config.js
import { defineConfig } from "file:///D:/%E5%85%AC%E5%8F%B8/%E6%99%BA%E6%85%A7%E6%89%BF%E8%BF%90/HQZHSY_PC/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E5%85%AC%E5%8F%B8/%E6%99%BA%E6%85%A7%E6%89%BF%E8%BF%90/HQZHSY_PC/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { fileURLToPath, URL } from "node:url";
import AutoImport from "file:///D:/%E5%85%AC%E5%8F%B8/%E6%99%BA%E6%85%A7%E6%89%BF%E8%BF%90/HQZHSY_PC/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/%E5%85%AC%E5%8F%B8/%E6%99%BA%E6%85%A7%E6%89%BF%E8%BF%90/HQZHSY_PC/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/%E5%85%AC%E5%8F%B8/%E6%99%BA%E6%85%A7%E6%89%BF%E8%BF%90/HQZHSY_PC/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_import_meta_url = "file:///D:/%E5%85%AC%E5%8F%B8/%E6%99%BA%E6%85%A7%E6%89%BF%E8%BF%90/HQZHSY_PC/vite.config.js";
var vite_config_default = defineConfig({
  css: {
    preprocessorOptions: {
      scss: {
        api: "modern-compiler"
        // or 'modern'
      }
    }
  },
  base: "/HQZHSY_PC/",
  server: {
    open: true,
    proxy: {
      "/HQ_ZHSY_API": {
        target: "https://zhsy.hqzhw.cn",
        changeOrigin: true
        // 是否更改请求来源
      }
    }
  },
  plugins: [
    vue(),
    AutoImport({
      include: [
        /\.[tj]sx?$/,
        /\.vue$/,
        /\.vue\?vue/,
        /\.md$/
      ],
      resolvers: [ElementPlusResolver()],
      imports: ["vue", "vue-router", "pinia", "@vueuse/core"],
      //注意这个配置和src同级
      dts: "./auto-imports.d.ts"
    }),
    Components({
      dirs: ["src/components"],
      resolvers: [
        ElementPlusResolver()
      ]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxcdTUxNkNcdTUzRjhcXFxcXHU2NjdBXHU2MTY3XHU2MjdGXHU4RkQwXFxcXEhRWkhTWV9QQ1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcXHU1MTZDXHU1M0Y4XFxcXFx1NjY3QVx1NjE2N1x1NjI3Rlx1OEZEMFxcXFxIUVpIU1lfUENcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6LyVFNSU4NSVBQyVFNSU4RiVCOC8lRTYlOTklQkElRTYlODUlQTclRTYlODklQkYlRTglQkYlOTAvSFFaSFNZX1BDL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcbmltcG9ydCB2dWUgZnJvbSAnQHZpdGVqcy9wbHVnaW4tdnVlJ1xuaW1wb3J0IHsgZmlsZVVSTFRvUGF0aCwgVVJMIH0gZnJvbSBcIm5vZGU6dXJsXCI7XG5pbXBvcnQgQXV0b0ltcG9ydCBmcm9tICd1bnBsdWdpbi1hdXRvLWltcG9ydC92aXRlJ1xuaW1wb3J0IENvbXBvbmVudHMgZnJvbSAndW5wbHVnaW4tdnVlLWNvbXBvbmVudHMvdml0ZSdcbmltcG9ydCB7IEVsZW1lbnRQbHVzUmVzb2x2ZXIgfSBmcm9tICd1bnBsdWdpbi12dWUtY29tcG9uZW50cy9yZXNvbH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